package com.dcy1.controller;

import com.dcy1.model.ResultInfo;
import com.dcy1.service.UserInfoService;
import org.springframework.stereotype.Controller;

import javax.annotation.Resource;

@Controller
public class UserInfoController {

    @Resource
    private UserInfoService userInfoService;

    public ResultInfo userLogin(String uname,String upwd){
        ResultInfo resultInfo=userInfoService.userLogin(uname,upwd);
        return resultInfo;
    }
}
